/* 
 * File:   NumerovMatrixSparse.h
 * Author: murmeli
 *
 * Created on March 12, 2013, 7:51 AM
 */

#ifndef NUMEROVMATRIXSPARSE_H
#define	NUMEROVMATRIXSPARSE_H

#include "cNum.h"

class NumerovMatrixSparse : public Num {
private:
  typedef Eigen::Triplet<double> T;
  
  vector<T> tripletsA, tripletsB, tripletsV;

public:
    NumerovMatrixSparse();
    NumerovMatrixSparse(const NumerovMatrixSparse& orig);
    virtual ~NumerovMatrixSparse();
    virtual void methodStep(double& step, vector<double> &xx, vector<double> &yy, vector<double> &dy, cDY* DY, cPot* V);
};

#endif	/* NUMEROVMATRIXSPARSE_H */

